module.exports = app => {
    const { BOOLEAN, STRING, INTEGER, DATE } = app.Sequelize;

 
    const Vote = app.model.define('vote', {
        id: {
            type: INTEGER,
            primaryKey: true,
            autoIncrement: true,
        },
        uid:INTEGER,
        aid:INTEGER,
        created_at: DATE,
        updated_at: DATE
    });


    return Vote;
};